namespace SimpleWebServices.Web.UI.Html
{
    using System;
    using Xunit;

    public sealed class IAttributeTabIndexFacts
    {
        [Fact]
        public void typedef()
        {
            Assert.True(typeof(IAttributeTabIndex).IsInterface);
        }

        [Fact]
        public void IAttributeTabIndex_TabIndex_get()
        {
            try
            {
                int? value = (new IAttributeTabIndexDummy() as IAttributeTabIndex).TabIndex;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IAttributeTabIndex_TabIndex_set()
        {
            try
            {
                (new IAttributeTabIndexDummy() as IAttributeTabIndex).TabIndex = 1;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }
    }
}